<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
  <style>
    div{
      width: 200px;
      height: 50px;
      border: 1px solid red;
      text-align: center;
      text-decoration: line-through;/*overline,underline*/
      text-decoration-color: yellow;
      line-height: 50px;
      text-shadow: red 10px 10px 2px;
      font-size: 20px;
      font-weight: bold;
      font-style: italic;
      font-family: cursive;

    }
    a{
      text-decoration: none;
      line-height: 50px;
      font: 30px cursive;
    }
    h3{
        font-weight: normal;
        font:30px cursive;
    }
  </style>
</head>
<body>
<div>文本和字体相关</div>
<a href="http://www.baidu.com">百度</a>
<h3>这是h3</h3>
</body>
</html>